<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:prime="http://primefaces.org/ui"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:c="http://java.sun.com/jsp/jstl/core">
<body>
	<ui:component>

		<c:if test="#{loginBean.exist()}">
			<h:form>

				<prime:menu style="visibility:hidden;">
<!-- 					<prime:submenu label="Menu"> -->
<!-- 						<prime:menuitem value="Patients" -->
<!-- 							action="GestionPatient?faces-redirect=true" -->
<!-- 							icon="ui-icon-triangle-1-e" styleClass="menuItem" /> -->
<!-- 						<prime:menuitem value="Medecin" -->
<!-- 							action="GestionMedecin?faces-redirect=true" -->
<!-- 							icon="ui-icon-triangle-1-e" styleClass="menuItem" /> -->
<!-- 						<prime:menuitem value="Infermiere" -->
<!-- 							action="GestionInfermiere?faces-redirect=true" -->
<!-- 							icon="ui-icon-triangle-1-e" styleClass="menuItem" /> -->
<!-- 						<prime:menuitem value="RendezVous" -->
<!-- 							action="RendezVous?faces-redirect=true" -->
<!-- 							icon="ui-icon-triangle-1-e" styleClass="menuItem" -->
<!-- 							actionListener="#{rendezVousSchedule.remplir(loginBean.e.id)}" -->
<!-- 							rendered="true" /> -->
<!-- 						<prime:menuitem value="Se Deconnecter" -->
<!-- 							action="Login?faces-redirect=true" icon="ui-icon-triangle-1-e" -->
<!-- 							styleClass="menuItem" actionListener="#{loginBean.init()}" /> -->
<!-- 					</prime:submenu> -->
					
				</prime:menu>

				<ul class="nav nav1">
						<li><a href="GestionPatient.jsf">Patients</a></li>
						<li><a href="GestionMedecin.jsf">Medecins</a></li>
						<li><a href="GestionInfermiere.jsf">Infermiere</a></li>
						<c:if test="#{loginBean.e.libelle !='Administrateur'}">
						<li><prime:commandLink action="RendezVous" actionListener="#{rendezVousSchedule.remplir(loginBean.e.id)}" >Rendez-vous</prime:commandLink></li>
						</c:if>
<!-- 						<li><prime:commandLink action="Login" styleClass="lien">Se Deconnecter</prime:commandLink></li> -->
					</ul>
					
						<script type="text/javascript">
$(function(){
 
    $('.nav1').flashyNav({
        rolloverColor: 'red',   //the default color of the rollover element
        rolloverDuration: 200, //the default duration for the rollover
        easingMethod: 'easeInOutQuint'  //easing method used for animation
    });
 
});
</script>

			</h:form>


		</c:if>
	</ui:component>

</body>

</html>


